<#--定义资源总路径-->
<#global RE= base+"/resources/car" />   

<#--头部模板-->
<#macro header title="">
<!DOCTYPE html>
<html class="csstransitions cssanimations ic_gecko ic_firefox ic_32" lang="zh-cn">
<head>
    <meta charset="utf-8" />
    <meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible" />
    <meta content="on" http-equiv="x-dns-prefetch-control" />
    <title><#if title !="">${title}-</#if>为二手车代言</title>
    <link rel="stylesheet" type="text/css" href="${RE}/css/style.css" />
	<link rel="stylesheet" type="text/css" href="${RE}/css/pagin.css" />
    <script src="${RE}/js/jquery-1.7.2.min.js"></script>
    <script src="${RE}/js/jquery.SuperSlide.2.1.1.js"></script>
</head>
<body>
<div class="toolbar clearfix">
    <div class="container">
        <div class="entry">
        	<!--
            <a href="#" title="登录">登录</a>
            <i class="entry-gap">|</i>
            <a href="#" title="注册">注册</a>
            <i class="entry-gap">|</i>
			-->
            <a href="javascript:;" onclick="favPage()" title="收藏本站">收藏本站</a>
			<script>
				//收藏网页代码，程序自动获取网址及网页标题 
				function favPage() { 
					/*
				    var pageName=window.location.href; 
				    var nameArr =pageName.split("?"); 
				    pageName=nameArr[0] + "?" + nameArr[1]; 
				    if (window.sidebar) { 
				        window.sidebar.addPanel(document.title,pageName,""); 
				    } 
				    else if(document.all) {  
				        window.external.AddFavorite(pageName,document.title); 
				    }
				    else { 
				        return   true; 
				    }*/
					alert("在键盘上按下“CTRL”+“D”两个组合键，在弹出的窗口点击完成即可收藏本页面");
				}
			</script>
        </div>
        <!--//class entry-->
    </div>
    <!--//class container-->
</div>
<!--//class tool-bar-->
<div class="header clearfix">
    <div class="container">
        <div class="logo">
            <h1> <a href="${base}/"><img alt="搜车网" src="${RE}/images/logo.png" /> </a> </h1>
        </div>
        <!--//class logo-->
        <div class="search">
            <form action="${base}/list.do" class="index-search">
                <input type="text" value="${(page.brand)!''}" click_type="header-search-input" autocomplete="off" class="search-text" placeholder="搜索你想要的车" name="brand" />
                <button click_type="search-submit" class="search-submit" type="submit"><i></i></button>
                <div class="recom">
                    <a target="_blank" href="${base}/list.do?brand=君威" click_type="search-item0">君威</a>
                    <a target="_blank" href="${base}/list.do?brand=奥迪A4L" click_type="search-item1">奥迪A4L</a>
                    <a target="_blank" href="${base}/list.do?brand=迈腾" click_type="search-item2">迈腾</a>
                    <a target="_blank" href="${base}/list.do?brand=SUV" click_type="search-item3">SUV</a>
                </div>
            </form>
        </div>
        <!--//class search-->
    </div>
</div>
<!--//class header-->
<div id="j-nav" class="ic-nav">
    <div class="container">
        <div class="menu">
            <ul>
                <li><a href="${base}/list.do">我要买车</a></li>
                <li><a href="${base}/resale.do">我要卖车</a></li>
                <li><a href="${base}/assessment.do">我要估价</a><span class="hot ir">hot</span></li>
                <li class="hide"><a href="#">实体展厅</a></li>
            </ul>
        </div>
        <div class="nav">
            <div class="mod-cate-hd">
                	全部商品分类
            </div>
           	<#nested>
        </div>
        <!--//class nav-->
    </div>
    <!--//class container-->
</div>
</#macro>

<#--网页底部模板-->
<#macro footer>
<div class="footer">
    <div class="footer-banner"></div>
    <div class="footer-map">
        <div class="container">
            <ul>
                <li>
                    <dl>
                        <dt>关于我们</dt>
                        <dd><a href="#" target="_blank">关于二手车之家</a></dd>
                        <dd><a href="#" target="_blank">联系我们</a></dd>
                        <dd><a href="#" target="_blank">网站地图</a></dd>
                    </dl>
                </li>
                <li>
                    <dl>
                        <dt>交易安全</dt>
                        <dd><a href="#" target="_blank">新手上路</a></dd>
                        <dd><a href="#" target="_blank">合同范本</a></dd>
                        <dd><a href="#" target="_blank">防止诈骗</a></dd>
                        <dd><a href="#" target="_blank">识别事故及泡水车</a></dd>
                    </dl>
                </li>
                <li>
                    <dl>
                        <dt>商家服务</dt>
                        <dd><a href="#" target="_blank">申请商家</a></dd>
                        <dd><a href="#" target="_blank">发布车源</a></dd>
                    </dl>
                </li>
                <li>
                    <dl>
                        <dt>答疑解惑</dt>
                        <dd><a href="#" target="_blank">建议与投诉</a></dd>
                        <dd><a href="#" target="_blank">二手车问答</a></dd>
                    </dl>
                </li>
            </ul>
        </div>
        <!--//class container-->
    </div>
    <!--//class footer-map-->
    <div class="cpr">
        <div class="container text-center">
            <p>CopyRight © 2000-2014 ,All Rights Reserved. 版权所有 搜车网信息科技有限公司</p>
        </div>
    </div>
</div>
<!--//class footer-->
<#nested>
</body>
</html>
</#macro>

<#macro storeList>
<#--
暂时不显示实体店信息   on 2014-12-9
<h2>实体店展示<small class="push-right"><a href="#" title="更多" >更多>></a> </small></h2>
<div class="store-list clearfix">
    <#list 1..4 as i>
	<dl class="<#if i=1>first </#if>text-center">
        <dt><a class="text-center" href="#" target="_blank" title="实体店${i}号店">实体店${i}号店</a></dt>
        <dd><a href="#" target="_blank" title="实体店${i}号店"><img src="${RE}/images/store01.jpg"></a> </dd>
    </dl>			
	</#list>
</div>
-->
</#macro>